﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TopModel
{
    public enum ERateType
    {
        bad = 0,
        neutral = 1,
        good = 2
    }
    public class RateDetail
    {
        private long m_tid;

        public long Tid
        {
            get { return m_tid; }
            set { m_tid = value; }
        }
 
        private string m_title;

        public string Title
        {
            get { return m_title; }
            set { m_title = value; }
        }
        private string m_receiverName;

        public string ReceiverName
        {
            get { return m_receiverName; }
            set { m_receiverName = value; }
        }
        private string m_receiverMobile;

        public string ReceiverMobile
        {
            get { return m_receiverMobile; }
            set { m_receiverMobile = value; }
        }
        private string m_receiverPhone;

        public string ReceiverPhone
        {
            get { return m_receiverPhone; }
            set { m_receiverPhone = value; }
        }
        private ERateType m_rateType;

        public ERateType RateType
        {
            get { return m_rateType; }
            set { m_rateType = value; }
        }
        private string m_content;

        public string Content
        {
            get { return m_content; }
            set { m_content = value; }
        }

        private string m_nick;

        public string Nick
        {
            get { return m_nick; }
            set { m_nick = value; }
        }
        private string m_receiverState;

        public string ReceiverState
        {
            get { return m_receiverState; }
            set { m_receiverState = value; }
        }
        private string m_receiverCity;

        public string ReceiverCity
        {
            get { return m_receiverCity; }
            set { m_receiverCity = value; }
        }
        private string m_receiverDistrict;

        public string ReceiverDistrict
        {
            get { return m_receiverDistrict; }
            set { m_receiverDistrict = value; }
        }
        private string m_receiverAddress;

        public string ReceiverAddress
        {
            get { return m_receiverAddress; }
            set { m_receiverAddress = value; }
        }

        public RateDetail()
        {
            m_content = string.Empty;
            m_nick = string.Empty;
            m_rateType = ERateType.bad;
            m_receiverAddress = string.Empty;
            m_receiverCity = string.Empty;
            m_receiverDistrict = string.Empty;
            m_receiverMobile = string.Empty;
            m_receiverName = string.Empty;
            m_receiverPhone = string.Empty;
            m_receiverState = string.Empty;
            m_tid = 0L;
            m_title = string.Empty;
        }
    }
}
